﻿using Microsoft.MixedReality.Toolkit.Experimental.Utilities;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MrPP.UX { 
    public class DirectionalIndicatorManager : GDGeek.Singleton<DirectionalIndicatorManager>
    {
        [SerializeField]
        private DirectionalIndicator _phototype;
        public DirectionalIndicator create(Transform ths) {
            DirectionalIndicator di = GameObject.Instantiate(_phototype);
            di.DirectionalTarget = ths;
            di.gameObject.SetActive(true);
            return di;
        }
    }
}